package com.glink.manage.vo.user;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.glink.common.serializer.JsonDateDeSerializer;
import com.glink.common.serializer.JsonDateSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
* @class: RoleMenuRelaBean
* @author: qiushaoshan
 * @since: 2025-01-07
* @description:
*/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class UserRoleRelaVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "name", notes = "主键ID")
    private String id;

    @ApiModelProperty(name = "roleId", notes = "角色ID")
    private String roleId;

    @ApiModelProperty(name = "userId", notes = "用户ID")
    private String userId;

    @ApiModelProperty(name = "createTime", notes = "创建时间")
    @JsonSerialize(using = JsonDateSerializer.class)
    @JsonDeserialize(using = JsonDateDeSerializer.class)
    private Date createTime;
}
